package com.share.tool.mock.model.db;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("mc_data_log")
public class DataLog implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(value = "remote_ip")
    private String remoteIp;
    private String code;
    private String request;
    private String response;

    @TableField(value = "start_time")
    private Date startTime;
    private Long costs;

    @TableField(value = "end_time")
    private Date endTime;

    @TableField(value = "create_time")
    private Date createTime;
}
